package com.pet.pojo;

import com.pet.pojo.Entity.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


@Data
@AllArgsConstructor
@NoArgsConstructor
public class SysUser extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /** id */
    private Integer id;

    /** 用户名 */
    private String username;

    /** 邮箱 */
    private String email;

    /** 密码 */
    private String password;

    /** 角色 */
    private int role;

    /** 头像 */
    private String headerImg;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }
}
